package com.hxzy.service;

import com.github.pagehelper.PageInfo;
import com.hxzy.controller.admin.merchandiser.req.MerchandiserReq;
import com.hxzy.controller.admin.merchandiser.req.ProcessReq;
import com.hxzy.controller.admin.merchandiser.resp.MerchandiserResp;
import com.hxzy.controller.front.merchandiser.req.MerchandiserIdReq;
import com.hxzy.entity.Merchandiser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Administrator
* @description 针对表【merchandiser(商家信息)】的数据库操作Service
* @createDate 2023-06-28 16:38:44
*/
public interface MerchandiserService extends IService<Merchandiser>,AdminLoginService {

    PageInfo<MerchandiserResp> search(MerchandiserReq req);

    boolean process(ProcessReq req);

    /**
     * 手机端商家
     * @param req
     * @return
     */
    PageInfo<com.hxzy.controller.front.merchandiser.resp.MerchandiserResp> frontSearch(com.hxzy.controller.front.merchandiser.req.MerchandiserReq req);


    com.hxzy.controller.front.merchandiser.resp.MerchandiserResp findById(MerchandiserIdReq req);
}
